0744b0d639ecebf2565b25183c936585cc05adcc,software/nosql/src/main/java/org/apache/brooklyn/entity/nosql/elasticsearch/ElasticSearchNodeImpl.java,ElasticSearchNodeImpl,connectSensors,#,70
Before Change
.poll(getSensorFromNodeStat(NODE_NAME, "name"))
.poll(getSensorFromNodeStat(DOCUMENT_COUNT, "indices", "docs", "count"))
.poll(getSensorFromNodeStat(STORE_BYTES, "indices", "store", "size_in_bytes"))
.poll(getSensorFromNodeStat(GET_TOTAL, "indices", "get", "total"))
.poll(getSensorFromNodeStat(GET_TIME_IN_MILLIS, "indices", "get", "time_in_millis"))
.poll(getSensorFromNodeStat(SEARCH_QUERY_TOTAL, "indices", "search", "query_total"))
.poll(getSensorFromNodeStat(SEARCH_QUERY_TIME_IN_MILLIS, "indices", "search", "query_time_in_millis"))
.poll(new HttpPollConfig<String>(CLUSTER_NAME)
After Change
.enabled(retrieveUsageMetrics))
.poll(getSensorFromNodeStat(STORE_BYTES, "indices", "store", "size_in_bytes")
.enabled(retrieveUsageMetrics))
.poll(getSensorFromNodeStat(GET_TOTAL, "indices", "get", "total")
.enabled(retrieveUsageMetrics))
.poll(getSensorFromNodeStat(GET_TIME_IN_MILLIS, "indices", "get", "time_in_millis")
.enabled(retrieveUsageMetrics))
.poll(getSensorFromNodeStat(SEARCH_QUERY_TOTAL, "indices", "search", "query_total")
.enabled(retrieveUsageMetrics))
.poll(getSensorFromNodeStat(SEARCH_QUERY_TIME_IN_MILLIS, "indices", "search", "query_time_in_millis")